var hdfsOperation = {
		//http://iconfont.cn/plus/collections/detail?cid=4378
		icons : {'share_folder':'<svg class="icon" style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="438"><path d="M903.5 199H484.2l-83.9-84.9H120.7c-30.9 0-55.9 25.4-55.9 56.6v679.2c0 31.3 25 56.6 55.9 56.6h782.8c30.9 0 55.9-25.3 55.9-56.6V255.6c0-31.2-25-56.6-55.9-56.6z" fill="#4A90E2" p-id="439"></path><path d="M489.2 628.2c-16.6 33.9-51.6 57.3-92.1 57.3-56.5 0-102.2-45.4-102.2-101.5s45.8-101.5 102.2-101.5c31 0 58.8 13.7 77.5 35.3l58.5-43.5c-7-10.6-11-23.3-11-36.9 0-37.4 30.5-67.7 68.2-67.7 37.6 0 68.2 30.3 68.2 67.7 0 37.4-30.5 67.7-68.2 67.7-15.7 0-30.1-5.3-41.7-14.1l-61.1 45.5c7.6 14.2 11.9 30.4 11.9 47.5 0 7.9-0.9 15.5-2.6 22.9l60.9 24.2c14.2-21.6 38.7-35.8 66.6-35.8 43.9 0 79.5 35.3 79.5 78.9 0 43.6-35.6 78.9-79.5 78.9s-79.5-35.3-79.5-78.9c0-7.9 1.2-15.5 3.3-22.6l-58.9-23.4z" fill="#FFFFFF" p-id="440"></path></svg>'
		 ,'file_txt':'<svg p-id="569" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;" class="icon"><path p-id="570" fill="#61CFEA" d="M620.9 67.2H236.5c-30.3 0-54.9 25-54.9 55.9v782.7c0 30.9 24.6 55.9 54.9 55.9h549c30.3 0 54.9-25 54.9-55.9v-615L620.9 67.2z"/><path p-id="571" fill="#FFFFFF" d="M802 925.9H220.1V109.7h379.6v218.9H802z"/><path p-id="572" fill="#6CDEEA" d="M802 922.6H220.1V106.4h379.6v218.8H802z"/><path p-id="573" fill="#FFFFFF" d="M416.1 606.6v25.4h-64.9v169.6h-29.5V632h-65.2v-25.4h159.6zM462.8 606.6l47.5 70.5 47.5-70.5h36.4L528 700.8l70.8 100.8h-36.4l-52.1-77.2-52.1 77.2h-36.4l70.1-100.8-65.5-94.2h36.4zM764 606.6v25.4h-64.9v169.6h-29.5V632h-65.2v-25.4H764z"/></svg>'
		},
		
		loadData : function(basePath){
			var scope = this;
			dataTable.loadDatas({
				_id : "main_data",
				_url : "explorer/datas",
				_params : {"name":"hdfs", "dirPath":"/"},
				_caption : name+"上下文表格布局",
				_columns : [{
					title:"NO."
				},{
					title:"PATH",
					value:"path",
					cstyle : function(r, d){
						if(r.isDirectory){
							return scope.icons.share_folder+"<span>"+d+"</span>";
						}else {
							return scope.icons.file_txt+"<span>"+d+"</span>";
						}
					}
				},{
					title:"SIZE",
					value:"len"
				},{
					title:"MODIFY_TIME",
					value:"modifyTime"
				}]
			});
		}
		
};